home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5797 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  5.9 KB

  1. Path: news.hik.se!usenet
  2. From: td93aj@te.hik.se (Andreas Johansson)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Visual E - New E Developer Tool - vedev.gif (0/1)
  5. Date: Wed, 20 Mar 1996 13:05:13 GMT
  6. Organization: Capitex
  7. Message-ID: <3150027b.2440158@news.hik.se>
  8. Reply-To: td93aj@te.hik.se
  9. NNTP-Posting-Host: mia95joa.dialin.hik.se
  10. X-Newsreader: Forte Agent .99c/16.141
  11.  
  12. Short: Like Visual Basic, made for E on Amiga
  13.  
  14.  
  15. -------------------------------------------------------------------------------
  16. !!!!!!!!! Now it's here, Visual E Developer Professional for Amiga
  17. !!!!!!!!!!!!
  18. -------------------------------------------------------------------------------
  19.  
  20. Have you sometimes envy owner of Visual Basic for Windows, now you
  21. don't have to do that anymore. Visual E will soon be ready for you.
  22.  
  23.  With Visual E everyone becomes a professional program developer.
  24. Visual E is perfect to create utillities with advanced userinterfaces.
  25.  
  26.  If you are a programdeveloper you need to have this program, it will
  27. replace everything that you have seen before.
  28.  
  29. The attached file is a screenshot from the program.
  30.  
  31. The program is under test, and a demoversion with disabled
  32. savefunction will be released in a couple of weeks.
  33.  
  34. If you can't wait contact me and maybe help me to finaltest the
  35. demoversion.
  36.  
  37.  Visual E requires that you have E. It works better if you have a
  38. videocard or a good monitor so you can work in a high resolution, so
  39. you can have many windows open at the same time.
  40.  
  41.  The demoversion is public domain. The registrated version will cost
  42. $50.
  43.  
  44.  Until Visual E have arrived you can check out an earlier work of
  45. mine, the E Developer Professional, you can find it on aminet under
  46. dev/e/edevprof.lha.
  47.  
  48. -------------------------------------------------------------------------------
  49. -------------------------------------------------------------------------------
  50.  
  51.  
  52. This is a example of how you can make a simple program in Visual E:
  53.  
  54.  
  55. 1. You just draw a window with two buttons, like this:
  56. .............................
  57. .-.  Window             . . .
  58. .............................
  59. .  .....                    .
  60. .  .New.                    .    <- Button object
  61. .  .....                    .
  62. .       ............        .
  63. .       .          .        .
  64. .       .  Hello   .        .    <- Button object
  65. .       ............        .
  66. .                           .
  67. .                          ..
  68. .............................
  69.  
  70. 2. Name the window 'TestWindow'
  71.  
  72. 3. Name the first Button object 'NewButton'
  73.  
  74. 4. Name the second Button object 'TestButton'
  75.  
  76. 5. Double click on the 'NewButton', and you will open the code window.
  77.  
  78. Write the following code:
  79. ............................................................
  80. .  . |NewButton            |  |event_click            |    .
  81. ............................................................
  82. .PROC event_click(msg)                                     .
  83. .   DEF newwin:PTR TO TestWindow                           .
  84. .   NEW newwin._load()                                     .
  85. .   newwin._left(newwin._left()+20)                        .
  86. .   newwin._top(newwin._top()+20)                          .
  87. .   newwin._show()                                         .
  88. .ENDPROC                                                   .
  89. ............................................................
  90.  
  91. 6. Double click on the NewButton, and you will jump to the event_click
  92. of
  93. this object in the code window.
  94.  
  95. Write the following code:
  96.  
  97. ............................................................
  98. .  . |TestButton            |  |event_click           |    .
  99. ............................................................
  100. .PROC event_click(msg)                                     .
  101. .   IF StrCmp(thiswin.TestButton._title(), 'Hello')        .
  102. .      thiswin.TestButton._text('World!')                  .
  103. .      thiswin._refresh()                                  .
  104. .   ELSE                                                   .
  105. .      thiswin._unload()                                   .
  106. .   ENDIF                                                  .
  107. .ENDPROC                                                   .
  108. ............................................................
  109.  
  110.  
  111. 7. You have just created a simple program in five minutes. It's not
  112. every day that you do a program like this just for fun, and only 15
  113. lines of code.
  114.  
  115. Imagine how long time it would take to do this program in the normal
  116. function oriented way, and how many lines of code maybe five times
  117. more and just as much greater chance to make bugs.
  118.  
  119. What are you waiting for just run the program!
  120.  
  121. Result:
  122.  
  123. When you press the 'New' button, you will open a new instance of the
  124. window.
  125.  
  126. When you press the 'Hello' button the text of the button will change
  127. to 'World!', next time you press it the window will close down.
  128.  
  129. Whenever you want you can press the close gadget of the window.
  130.  
  131. When all windows are closed then the program will end.
  132.  
  133.  
  134. The author:
  135.  
  136. Thank you for reading this, if you are interested don't hesitate to
  137. contact me. Maybe you are interessted to help me make some smart
  138. objects for example arexx object, better moduleplayer objcect,
  139. internetobject, boopsi object, generic object (so you can implement
  140. your own objects in a library), fast graphicsobjects like bobs,
  141. databaseobject or an object like saxxtab for Windows (or what it's
  142. called).
  143.  
  144.  
  145. Functions that you maybe will find in future versions:
  146.  
  147. Gadgets placed on a panel (bevelbox) can be grouped, and have
  148. cordinates relative to the panel and automatic moves when you move the
  149. panel.
  150.  
  151. The design mode spread and align functions also in runtime mode (so
  152. you easy can make fontsensetive applications).
  153.  
  154. Much better textedit object.
  155.  
  156. Overall better performance.
  157.  
  158. Better configuration of the userinterface.
  159.  
  160. Per Jonsson
  161. Sagovagen 19
  162. 393 52  Kalmar
  163. Sweden
  164.  
  165. Mobilephone: 070 - 794 70 48
  166. Email:       td93jp@te.hik.se
  167. (This is a temporary email-address, I check for mail maybe 4 times a
  168. month)
  169. ---
  170. Signature file located at ftp://ftp.net.net/dev/null
  171.